package com.shop.service;

import com.shop.model.Category;


import java.util.List;
import java.util.Map;

public interface CategoryService {
    List<Category> selectAllCategory();

    Boolean categoryAdd(String name, Integer pid);

    Boolean categoryUpdate(Map map);


    Boolean delete(Integer id);

    List<Integer> selectCategoryIdByPid(int categoryId);
}
